<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>首页</title>
		<link rel="stylesheet" type="text/css" href="static/project/css/style.css"/>
		<link rel="stylesheet" type="text/css" href="static/project/css/index.css"/>
		<script src="static/project/js/jquery-1.8.0.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="static/project/js/index.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
<!--页头部分-->
<?php include('app/index/public/html/_header.html');?>
		<!--banner图-->
		<div class="banner">
			<div class="container">
				<ul>
					<?php foreach($banner as $k=>$v){?>
						<li><a href="#"><img src="<?php echo $v['file'];?>"/></a></li>
					<?php }?>
				</ul>
			</div>
		</div>
		<!--关于我们-->
		<div class="about">
			<div class="container">
				<div class="title">
					<h3>ABOUT US</h3>
					<h4>关于我们</h4>
				</div>
					<img src="<?php echo $about_index['file'];?>"/>
						<div class="right">
							<h5></h5>
							<p><?php echo $about_index['content'];?></p>
							<div class="more"><a href="index.php?a=index&b=about&c=about">MORE</a></div>
						</div>
			</div>
		</div>
		<!--产品中心-->
		<div class="product">
			<div class="container">
				<div class="title">
					<h3>Product Center</h3>
					<h4>产品中心</h4>
				</div>
				<ul>
					<?php foreach($product as $k=>$v){?>
						<li>
							<a href="index.php?a=index&b=product_detail&c=product_detail&id=<?php echo $v['Id']?>"><img style="display: block; height: 339px;width: 380px;" src="<?php echo $v['file'];?>"/></a>
							<p><a href="index.php?a=index&b=product_detail&c=product_detail&id=<?php echo $v['Id']?>"><span><?php echo $v['name'];?></span></a></p>
						</li>
					<?php }?>
				</ul>
				<div class="more"><a href="index.php?a=index&b=product&c=product">MORE</a></div>
			</div>
		</div>
		<!--新闻中心-->
		<div class="news">
			<div class="container">
				<div class="title">
					<h3>NEWS</h3>
					<h4>新闻资讯</h4>
				</div>
					<div class="left">
						<h5>公司新闻</h5>
						<?php foreach($news01 as $k=>$v){?>
							<a href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $v['Id']?>"><img style="display: block;width: 501px;height: 300px;" src="<?php echo $v['file'];?>"/></a>
							<h6><a href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $v['Id']?>"><?php echo $v['title'];?><span><?php echo date('Y/m/d',$v['time']);?></span></a></h6>
							<p><a href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $v['Id']?>"><?php echo $v['abstract'];?></a></p>
						<?php }?>
					</div>
					<div class="right">
							<h1>行业新闻</h1>
							<ul>
								<?php foreach($news02 as $k=>$v){?>
									<li >
										<h3><a  href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $v['Id']?>"><?php echo $v['title'];?></a><i><?php echo date('Y/m/d',$v['time']);?></i></h3>
										<span>信息来源:<?php echo $v['author'];?></span>
										<p><a style="border-bottom: none;" href="index.php?a=index&b=news_detail&c=news_detail&id=<?php echo $v['Id']?>"><?php echo $v['abstract'];?></a></p>
									</li>
								<?php }?>
							</ul>
					</div>
			</div>	
		</div>
		<!--联系我们-->
		<div class="contact">
			<div class="container">
				<div class="title">
					<h3>Contact us</h3>
					<h4>联系我们</h4>
				</div>
					<ul>
						<li>
							<img src="static/project/img/a1.png" class="white"/>
							<img src="static/project/img/a.png" class="blank"/>
							<span>公司地址</span>
							<p><?php echo $contact['address']?></p>
						</li>
						<li>
							<img src="static/project/img/b1.png" class="white"/>
							<img src="static/project/img/b2.png" class="blank"/>
							<span>联系方式</span>
							<p><?php echo $contact['sent']?>/<?php echo $contact['tel']?></p>
						</li>
						<li>
							<img src="static/project/img/c.png" class="white"/>
							<img src="static/project/img/c1.png" class="blank"/>
							<span>电子邮件</span>
							<p><?php echo $contact['email']?></p>
						</li>
					</ul>
			</div>
		</div>
		
<!--底部-->
<?php include('app/index/public/html/_footer.html');?>